Skip to content

fix(web): day view calendar columns at UTC midnight boundary - #5229

Merged
tyler-dane merged 3 commits into
mainfrom
cursor/fix-day-view-column-flake-0084
Nov 12, 2026
Merged

tyler-dane merged 3 commits into
mainfrom
cursor/fix-day-view-column-flake-0084

Conversation

@tyler-dane

@tyler-dane tyler-dane commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Fix day-view calendar column selection to use dayEventQueryRange overlap (not civil-day string compare) so secondary columns survive the merge-queue UTC/Denver boundary.
  • Sync calendar time-zone hint before paint.
  • Regression test calls production getDayViewCalendars only (no in-test legacy clone).

Test plan

  • bun test apps/calendar-web/src/views/Day/components/Calendar/dayCalendarColumns.util.test.ts
  • E2E: e2e/calendars/calendar-experience.spec.ts day column test (shard 4 at UTC boundary)

Fixes #5227 (flake dequeue)

VERDICT: pending CI on a79e3b792

Open in Web Open in Cursor 

Timed events were matched to the viewed day using civil-day strings in the
effective timezone, which could drop secondary columns when UTC midnight
disagreed with calendar-local event days. Use dayEventQueryRange overlap
instead and apply the calendar TZ hint before paint.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Boot bundle: 576.8 KB gzip (+0.0 KB vs main)

Assert legacy civil-day column matching collapses to primary only at Nov 11
17:23 Denver with UTC browser and no calendar hint, while query-window overlap
keeps both calendars.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@cursor cursor Bot changed the title fix(web): day view calendar columns at UTC midnight boundary fix(web): day view calendar columns at UTC midnight boundary Nov 12, 2026
Remove in-test legacy column matcher and restore LifeSidebarContent from main
so #5229 stays scoped to day-view columns.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Nov 12, 2026
Match web #5229 by overlapping timed events with dayEventQueryRange instead of
civil-day start matching; add boundary XCTest and optional anchor timezone.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane
tyler-dane added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit f84e990 Nov 12, 2026
37 checks passed
@tyler-dane
tyler-dane deleted the cursor/fix-day-view-column-flake-0084 branch November 12, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants